from django.db import models


class Servicio(models.Model):

    nombre_servicio = models.CharField(max_length=30, null=True, blank=True)
    descripcion = models.TextField(max_length=300)
    categoria = models.CharField(max_length=15, null=True, blank=True)
    precio_servicio = models.CharField(max_length=20)

    class Meta:
        verbose_name = "Servicio"
        verbose_name_plural = "Servicios"

    def __str__(self):
        return self.nombre_servicio
